Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create rule S7144: Bitbucket keys should not be disclosed (APPSEC-1864) #4476

Merged
merged 5 commits into from
Nov 12, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 6, 2024

You can preview this rule here (updated a few minutes after each push).

Review

A dedicated reviewer checked the rule description successfully for:

  • logical errors and incorrect information
  • information gaps and missing content
  • text style and tone
  • PR summary and labels follow the guidelines

@sebastien-andrivet-sonarsource sebastien-andrivet-sonarsource changed the title Create rule S7144 Create rule S7144: BitBucket keys should not be disclosed (APPSEC-1864) Nov 6, 2024
@sebastien-andrivet-sonarsource sebastien-andrivet-sonarsource changed the title Create rule S7144: BitBucket keys should not be disclosed (APPSEC-1864) Create rule S7144: Bitbucket keys should not be disclosed (APPSEC-1864) Nov 6, 2024
@sebastien-andrivet-sonarsource sebastien-andrivet-sonarsource marked this pull request as ready for review November 7, 2024 14:33
Copy link
Contributor

@pierre-loup-tristant-sonarsource pierre-loup-tristant-sonarsource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the "BitBucket key" term is confusing to name the rule itself.
We probably want to use "OAuth credentials" when referring to the Key + Secret and to use either OAuth Key or OAuth Secret when it comes to the values itself.

Please, have a look at the other improvement suggestions I made.

rules/S7144/secrets/metadata.json Outdated Show resolved Hide resolved
rules/S7144/secrets/rule.adoc Outdated Show resolved Hide resolved
rules/S7144/secrets/rule.adoc Outdated Show resolved Hide resolved
rules/S7144/secrets/rule.adoc Outdated Show resolved Hide resolved
rules/S7144/secrets/rule.adoc Outdated Show resolved Hide resolved
rules/S7144/secrets/rule.adoc Outdated Show resolved Hide resolved
rules/S7144/secrets/rule.adoc Show resolved Hide resolved
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I think you can remove the asciidoc variables such as :example_secret:

rules/S7144/secrets/rule.adoc Outdated Show resolved Hide resolved
Co-authored-by: Pierre-Loup <49131563+pierre-loup-tristant-sonarsource@users.noreply.github.com>
Copy link

Quality Gate passed Quality Gate passed for 'rspec-tools'

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Copy link

Quality Gate passed Quality Gate passed for 'rspec-frontend'

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@sebastien-andrivet-sonarsource sebastien-andrivet-sonarsource merged commit c36fc7c into master Nov 12, 2024
9 of 10 checks passed
@sebastien-andrivet-sonarsource sebastien-andrivet-sonarsource deleted the rule/add-RSPEC-S7144 branch November 12, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants